import type { RouteObject } from 'react-router-dom'

export default {
  children: [
    {
      path: '/dish',
      lazy: () => import('@/views/dish/index'),
      meta: {
        title: '菜品管理',
        icon: 'ant-design:shop-outlined',
      },
    },
    {
      path: '/dish/addDish',
      id: 'addDish',
      lazy: () => import('@/views/dish/addDish'),
      meta: {
        title: '操作菜品',
        hideInMenu: true,
        hideInSearch: true,
        activeMenu: '/dish',
        mergeTabbarPath: '/dish',
        // auth: 'user.detail',
      },
    },
  ],

} as RouteObject